package com.hupu.jrs

import java.util.HashMap

/**
 * Created by sll on 2015/8/21.
 */
object Constants {

    val TYPE_COMMENT = 1001
    val TYPE_FEEDBACK = 1002
    val TYPE_AT = 1003
    val TYPE_POST = 1004
    val TYPE_REPLY = 1005
    val TYPE_QUOTE = 1006
    val TYPE_RECOMMEND = 0
    val TYPE_COLLECT = -2
    val THREAD_TYPE_HOT = "2"  //热帖
    val THREAD_TYPE_NEW = "1"//最新的帖子
    val NAV_SETTING = 10000
    val NAV_FEEDBACK = 10001
    val NAV_ABOUT = 10002
    val BOX_APP_KEY = "U8DCMNBEFLP1E9W60BIP"
    val BOX_APP_SECRETE = "+m/4pmmh05RRxpZo/Hor1wPMQFihwJ+QinHGRdR0"
    val BOX_BUCKET_NAME = "/img/Imgup"
    val BOX_END_POINT = "http://s3.hupu.com"
    val BOX_END_POINT_NEW = "http://bbs-test.mobileapi.hupu.com/"
    val BOX_KEY_NAME = "SJW28AP753KGAWB0FN6Q"
    val FORUMS_IDS = arrayOf("0", "1", "232", "174", "233", "234", "4596", "198", "41")
    val NAV_IDS = arrayOf(R.id.nav_my, R.id.nav_nba, R.id.nav_cba, R.id.nav_gambia, R.id.nav_equipment, R.id.nav_fitness, R.id.nav_football, R.id.nav_intel_football, R.id.nav_sport)
    val mNavMap: MutableMap<Int, String> = HashMap()
    val UPDATE_URL = "http://www.pursll.com/update.json"
    var Cookie = ""
    var NAV_TOPIC_LIST = -2
    var NAV_TOPIC_FAV = -1
    var NAV_THREAD_RECOMMEND = -3

    init {
        for (i in NAV_IDS.indices) {
            mNavMap.put(NAV_IDS[i], FORUMS_IDS[i])
        }
    }
}
